package cn.feichanghao.nutz.quickstart;

import org.nutz.mvc.annotation.By;
import org.nutz.mvc.annotation.Encoding;
import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Localization;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.ioc.provider.ComboIocProvider;
import cn.feichanghao.nutz.quickstart.SiteFilter;
import cn.feichanghao.nutz.quickstart.MenuFilter;

@IocBy(type = ComboIocProvider.class, args = {	"*org.nutz.ioc.loader.json.JsonLoader",
												"ioc",
												"*org.nutz.ioc.loader.annotation.AnnotationIocLoader",
												"cn.feichanghao.nutz.quickstart"})
@Modules
@SetupBy(QuickStartSetup.class)
@Ok("json")
@Fail("json")
@Filters({@By(type = SiteFilter.class), @By(type = MenuFilter.class, args = {"ioc:menuService"})})
public class MainModule {

}
